package com.digitalchina.lxnsy.viewholder;

import android.view.ViewGroup;
import android.widget.TextView;

import com.digitalchina.lxnsy.R;
import com.digitalchina.lxnsy.entity.PriceCountyDataVO;
import com.jude.easyrecyclerview.adapter.BaseViewHolder;

/**
 * ================================================
 * 项目名称：BigData
 * 类描述：
 * 包名：com.digitalchina.bigdata.viewholder
 * 创建人：郑皓
 * 创建时间：2017/7/28 18:56
 * 修改备注：
 * ================================================
 */
public class CityTypeV2ViewHolder extends BaseViewHolder<PriceCountyDataVO> {

    private TextView tvName;


    public CityTypeV2ViewHolder(ViewGroup parent) {
        super(parent, R.layout.header_item);
        tvName = $(R.id.city_name);
    }

    @Override
    public void setData(PriceCountyDataVO data) {
        super.setData(data);
        tvName.setText(data.getCountyName());
    }

}
